import React, { Component } from "react";
import styles from "./MySearch.module.scss"
import { withRouter } from "react-router-dom"
class MySearch extends Component {
    handleClick = (params) => {
        // console.log(this.props);
        this.props.history.push("/searchCenter");
    }
  render() {
    return (
      <div className={styles.mySearch} onClick={this.handleClick}>
        <div className={styles.mySearchContent}>搜索</div>
      </div>
    );
  }
}

export default withRouter(MySearch);
